FROM alpine:3.10.0

RUN echo 'http://mirrors.ustc.edu.cn/alpine/v3.10/main' > /etc/apk/repositories
RUN echo 'http://mirrors.ustc.edu.cn/alpine/v3.10/community' >>/etc/apk/repositories
RUN apk update && apk add tzdata
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo "Asia/Shanghai" > /etc/timezone

RUN apk add --update ca-certificates && rm -rf /var/cache/apk/* /tmp/*

ENV TZ='Asia/Shanghai'


ADD app /app
ENTRYPOINT [ "/app" ]
